package com.tupi.project.ui.contract;

import com.tupi.project.base.BasePresenter;
import com.tupi.project.base.BaseView;

/**
 * Created by Administrator on 2017/10/31.
 */

public interface HttpContract
{
    interface View extends BaseView
    {
        void showErrorInfo(String info);
    
        void showUserInfo(String info);
        
        void showToken(String token );
    }
    
    interface Presenter extends BasePresenter<View>
    {
        void reqLogin(String acc,String pwd);
    
        boolean check(String acc,String pwd);
    
        void onClickLogin(String acc,String pwd);
        
        void onClickShowToken();
    }
}
